



local function new()
    return {}
end

local function set_fd(self, fd)
    self.fd = fd
end



local function read_int(self)
    fd = self.fd
    return Pkt.ReadInt(fd)
end

local function read_short(self)
    fd = self.fd
    return Pkt.ReadShort(fd)
end

local function read_utf(self)
    fd = self.fd
    return Pkt.ReadUtf(fd)
end





PACKET = {

    new = new,
    set_fd = set_fd,
    read_int = read_int,
    read_utf = read_utf, 
    read_short = read_short,

}


return PACKET

